<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" th:href="@{/css/index.css}">
    <title>设备环境监测平台大数据5</title>
    <script th:src="@{/js/jquery-2.2.1.min.js}"></script>
    <script th:src="@{/js/rem.js}"></script>
    <script th:src="@{/js/echarts.min.js}"></script>
    <script th:src="@{/js/guangxi.js}"></script>
    <script th:src="@{/js/index.js}"></script>
</head>
<body>
    <div class="t_container">
        <header class="t_header">
            <span>设备环境监测平台</span>
        </header>
        <main class="t_main">
            <div class="t_left_box">
                <img class="t_l_line" th:src="@{/img/left_line.png}" >
                <div class="t_mbox t_rbox">
                    <i></i>
                    <span>本月订单数</span>
                    <h2>18000</h2>
                </div>
                <div class="t_mbox t_gbox">
                    <i></i>
                    <span>本月新增会员</span>
                    <h2>1000</h2>
                </div>
                <div class="t_mbox t_ybox">
                    <i></i>
                    <span>一次消费会员</span>
                    <h2>600</h2>
                </div>
                <img class="t_r_line" th:src="@{/img/right_line.png}" alt="">
            </div>
            <div class="t_center_box">
                <div class="t_top_box">
                    <img class="t_l_line" th:src="@{/img/left_line.png}" alt="">
                    <ul class="t_nav">
                        <li>
                            <span>设备数</span>
                            <h1>500</h1>
                            <i></i>
                        </li>
                        <li>
                            <span>上月设备增加数</span>
                            <h1>30</h1>
                            <i></i>
                        </li>
                        <li>
                            <span>增值率</span>
                            <h1>75%</h1>
                        </li>
                    </ul>
                    <img class="t_r_line" th:src="@{/img/right_line.png}" alt="">
                </div>
                <div class="t_bottom_box">
                    <img class="t_l_line" th:src="@{/img/left_line.png}" alt="">
                    <div id="chart_3" class="echart" style="width: 100%; height: 3.6rem;"></div>
                    <img class="t_r_line" th:src="@{/img/right_line.png}" alt="">
                </div>
            </div>
            <div class="t_right_box">
                    <img class="t_l_line" th:src="@{/img/left_line.png}" alt="">
                    <div id="chart_4" class="echart" style="width: 50%; height: 4.6rem; position: absolute;"></div>
                    <header class="t_b_h">
                        <span>开关次数</span>
                        <img th:src="@{/img/end.png}"></img>
                        <h3>15<span>次</span></h3>
                    </header>
                    <main class="t_b_m">
                        <img th:src="@{/img/map.png}" alt="">
                        <div class="t_b_box">
                            <span>溫度</span>
                            <i></i>
                            <h2>23℃</h2>
                        </div>
                        <div class="t_b_box1">
                            <span>湿度</span>
                            <i></i>
                            <h2>56RH</h2>
                        </div>
                        <div class="t_b_box2">
                            <span>信号</span>
                            <i></i>
                            <h2>-90dBm</h2>
                        </div>
                        <div class="t_b_box3">
                            <span>光线</span>
                            <i></i>
                            <h2>250LX</h2>
                        </div>
                    </main>
                    <img class="t_r_line" th:src="@{/img/right_line.png}" alt="">
            </div>
            <div class="b_left_box">
                    <img class="t_l_line" th:src="@{/img/left_line.png}" alt="">
                    <div id="chart_2" class="echart" style="width: 100%; height: 3.6rem;"></div>
                    <img class="t_r_line" th:src="@{/img/right_line.png}" alt="">
            </div>
            <div class="b_center_box">
                    <img class="t_l_line" th:src="@{/img/left_line.png}" alt="">
                    <div id="chart_1" class="echart" style="width: 100%; height: 3.6rem;"></div>
                    <img class="t_r_line" th:src="@{/img/right_line.png}" alt="">
            </div>
            <div class="b_right_box">
                    <img class="t_l_line" th:src="@{/img/left_line.png}" alt="">
                    <h1 class="t_title">设备维保数据查看 <a th:href="@{/user/add}">添加使用</a> <a th:href="@{/user/setAll}">查询所有</a>  </h1>

                    <table class="t_table">
                        <thead>
                            <tr>
                                <th>维护时间</th>
                                <th>维保人</th>
                                <th>维保电话</th>
                                <th>更换水量</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr th:each="user:${userList}">
                                <td>[[${user.time}]]</td>
                                <td>[[${user.man}]]</td>
                                <td>[[${user.number}]]</td>
                                <td>[[${user.water}]]</td>
                            </tr>
                        </tbody>
                    </table>
                    <img class="t_r_line" th:src="@{/img/right_line.png}" alt="">
            </div>
        </main>
    </div>
</body>
</html>